test: Fix compile-time warnings
authorBastien Nocera <hadess@hadess.net>
Sat, 21 Jul 2018 12:50:37 +0000 (14:50 +0200)
committerBastien Nocera <hadess@hadess.net>
Sat, 21 Jul 2018 12:55:30 +0000 (14:55 +0200)
commit5b527d69100a1d275ceea44ffb693a4eaf309d73
treec9d18d89576c8558cbf98c3d9e4b2899e66a8fec
parenteb3fd5e941ae078d21d130f5f3de33871b4e939e
test: Fix compile-time warnings

testsuite/gtk/notify.c: In function ‘test_type’:
testsuite/gtk/notify.c:434:14: warning: assignment to ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GtkSettings *’ {aka ‘struct _GtkSettings *’} [-Wincompatible-pointer-types]
     instance = g_object_ref (gtk_settings_get_default ());
              ^
testsuite/gtk/notify.c:443:16: warning: assignment to ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GdkWindow *’ {aka ‘struct _GdkWindow *’} [-Wincompatible-pointer-types]
       instance = g_object_ref (gdk_window_new (NULL, &attributes, 0));
                ^
testsuite/gtk/notify.c